package xx;

import java.lang.reflect.Constructor;

public class TestStudent {
	public static void main(String[] args) throws Exception{
		Class stu=Class.forName("xx.Student");
		
		Constructor constructor= stu.getConstructor(int.class,String.class,Integer.class);
		Student xiaoxin=(Student) constructor.newInstance(1,"da da fu",10000);	
		
		System.out.println(xiaoxin.toString());
	}

}
